import * as React from 'react';
import { Layout, Button, Card, Row, Col, Space } from 'antd';
import styles from './style.module.scss'
import { Link } from 'react-router-dom';
const { Header, Footer, Content } = Layout;


const BookPage: React.FC<{}> = () => {
    const go = (url: string) => {
        window.history.pushState({}, "", url);
        window.history.go(0);
    }
    return (
        <Layout className="layout">
            <div className={styles.header} >FPEG</div>
            <div className={styles.content}>
                <div className={styles.floatWapper}>
                    <div className={styles.btns}>
                        <Button onClick={() => go("/gitbook/matlab/index")} className={styles.link_btn}>matlab</Button>
                        <Button onClick={() => go("/gitbook/MM/index")} className={styles.link_btn}>数学建模</Button>
                    </div>
                </div>
            </div>
            <div className={styles.footer}>
                © 2019-2020 fpeg.net 版权所有<br></br>
                <a href="http://beian.miit.gov.cn/">粤ICP备20038201号-1 </a>
            </div>
        </Layout>
    )
}
export default BookPage;